package com.suny.Fence.dto;
import com.suny.result.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "围栏查询DTO")
public class FenceQueryDTO extends PageDTO{
    @Schema(description = "牧场名称")
    private String farmName;
    
    @Schema(description = "圈舍名称")
    private String penName;
    
    @Schema(description = "围栏名称")
    private String fenceName;
    
    @Schema(description = "状态(1=启用,0=停用)")
    private Integer status;

    
    // 添加toString方法便于调试
    @Override
    public String toString() {
        return "FenceQueryDTO{" +
                "farmName='" + farmName + '\'' +
                ", penName='" + penName + '\'' +
                ", fenceName='" + fenceName + '\'' +
                ", status=" + status +
                '}';
    }
} 